﻿using System;
using System.Collections.Generic;
using System.Text;
using Zj.DDDSample.Domain.Events;

namespace Zj.DDDSample.Domain.Projects
{
    /// <summary>
    /// Project created event.
    /// </summary>
    public class ProjectCreatedEvent
        : IEvent
    {
        public ProjectCreatedEvent()
        {
            this.Id = Guid.NewGuid().ToString("N");
            this.Name = this.GetType().FullName;
        }

        public string Id { get; }

        public string Name { get; }
    }
}
